package com.systemservice.service;

import generator.domain.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import generator.support.ResponseResult;

/**
* @author 杨健康
* @description 针对表【t_role】的数据库操作Service
* @createDate 2022-06-19 13:52:19
*/
public interface RoleService extends IService<Role> {
    /**
     * 删除角色
     */
    public ResponseResult<Object> deleteRoleById(Integer id);

    /**
     * 添加角色
     */
    public ResponseResult<Object> addRole(Role role);

    /**
     * 修改角色信息
     */
    public ResponseResult<Object> editRole(Role role);
}
